import request, {RequestMethod} from "@/utils/request.ts";


export function uploadProjectUrl(url: string, files: any) {
    return request({
        url: url,
        method: 'POST',
        data: files
    })
}


export function deleteFileUrl(fileId: number){
    return request({
        url: '/file/deleteFile',
        method: RequestMethod.DELETE,
        params: {
            id: fileId,
        }
    })
}
